home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / Mark Pilgrim / Pentominoes 1.4.1 / source / Pentominoes ƒ / Pent code / pent.h < prev   
Encoding:
C/C++ Source or Header  |  1994-10-30  |  1.6 KB  |  53 lines  |  [TEXT/KAHL]

  1. /**********************************************************************\
  2.  
  3. File:        pent.h
  4.  
  5. Purpose:    This is the header file for pent.c
  6.  
  7.  
  8. Pentominoes - a 2-D geometry board game
  9. Copyright (C) 1993 Mark Pilgrim
  10.  
  11. This program is free software; you can redistribute it and/or modify
  12. it under the terms of the GNU General Public License as published by
  13. the Free Software Foundation; either version 2 of the License, or
  14. (at your option) any later version.
  15.  
  16. This program is distributed in the hope that it will be useful,
  17. but WITHOUT ANY WARRANTY; without even the implied warranty of
  18. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  19. GNU General Public License for more details.
  20.  
  21. You should have received a copy of the GNU General Public License
  22. along with this program in a file named "GNU General Public License".
  23. If not, write to the Free Software Foundation, 675 Mass Ave,
  24. Cambridge, MA 02139, USA.
  25.  
  26. \**********************************************************************/
  27.  
  28. extern    int                gWhichBoard;
  29. extern    int                gNumHilited;
  30. extern    int                Board[8][20];
  31. extern    int                gNumRows;
  32. extern    int                gNumCols;
  33. extern    Boolean            gShowGrid;
  34. extern    Boolean            PieceUsed[12];
  35. extern    int                gNumPlayed;
  36. extern    int                PiecesPlayed[12];
  37. extern    CIconHandle        gColorIcons[12];
  38. extern    Handle            gBWIcons[12];
  39. extern    PixPatHandle    gPlainColors[15];
  40. extern    PatHandle        gBWPatterns[15];
  41. extern    int                gShapes[12][5][5];
  42. extern    char            SolutionLetters[14];
  43. extern    int                gCurrentColor;
  44. extern    Boolean            freshClick;
  45.  
  46. void InitGame(void);
  47. void NewGame(void);
  48. void ShutDownGame(void);
  49. void WinGame(void);
  50. void GameEvent(void);
  51. void GameKeyEvent(char);
  52. void GameUndo(void);
  53.